//
//  BVShoppingCartCell.h
//  BuyVegetable
//
//  Created by yushanchang on 16/10/26.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BVShoppingCart.h"
#import "BVShoppingCartFrame.h"

typedef void(^RadioBlock)(NSIndexPath *,BOOL);
typedef void(^AddBlock)(NSIndexPath *);
typedef void(^MinusBlock)(NSIndexPath *);

@interface BVShoppingCartCell : UITableViewCell
/**
 *  单选
 */
@property (nonatomic, strong) UIButton *radioButton;
/**
 *  配图
 */
@property (nonatomic, strong) UIImageView *imgView;
/**
 *  商品名称
 */
@property (nonatomic, strong) UILabel *titleLabel;
/**
 *  促销
 */
@property (nonatomic, strong) UILabel *salesLabel;
/**
 *  单价
 */
@property (nonatomic, strong) UILabel *unitPriceLabel;
/**
 *  重量
 */
@property (nonatomic, strong) UILabel *weightLabel;
/**
 *  小计
 */
@property (nonatomic, strong) UILabel *allPriceLabel;
/**
 *  限购提示语
 */
@property (nonatomic, strong) UILabel *noticeLabel;
/**
 *  减
 */
@property (nonatomic, strong) UIButton *minusButton;
/**
 *  加
 */
@property (nonatomic, strong) UIButton *addButton;
/**
 *  数量
 */
@property (nonatomic, strong) UILabel *goodsNumLabel;
/**
 *  删除
 */
@property (nonatomic, strong) UIButton *deleteButton;

@property (nonatomic, strong) BVShoppingCart *shoppingCart;
@property (nonatomic, copy  ) NSString *ID;
@property (nonatomic, strong) BVShoppingCartFrame *shoppingCartFrame;
/**
 *  block
 */
@property (nonatomic, copy  ) RadioBlock radioBlock;
@property (nonatomic, copy  ) AddBlock addBlock;
@property (nonatomic, copy  ) MinusBlock minusBlock;
@property (nonatomic, strong) NSIndexPath *indexPath;


@end
